import http from '@/utils/http'

//获取管理员账号基本信息
export function getAdminInfoByIdApi(id) {
    return http({
      url: `administrator/info/${id}`,
      method: 'get',
    })
  }
//修改管理员基本信息
export function updateAdminBaseInfoApi(data) {
    return http({
      url: 'administrator/update',
      method: 'put',
      data: data
    })
  }